<ion-view view-title="{{language == 0?'四方当代美术馆':'Sifang Art Museum'}}">
  <ion-content class="normal_box bg" delegate-handle="mainScroll" overflow-scroll="false">

    <div class="top_header bb_1_53">
      <span class="header_left" ng-click="backhome()">
        <img src="img/backhome.png" class="backhome" />
      </span>
      <!-- <i class="iconfont icon-Path5 top_icon2" ng-click="gotoCenter()"></i> -->
      <!-- <i class="iconfont icon-Path11 top_icon3" ng-click="gotoShop()"></i> -->
    </div>

    <div class="vip_header">
      <div class="vip_header_left">
        <div class="vip_header_img">
          <img src="img/default_avatar.jpg"/>
        </div>
        <p>{{user.nickname?user.nickname:user.phone}}</p>
      </div>
      <div class="vip_header_right">
        <p class="vip_line1">当前会员等级</p>
        <p class="vip_line2">{{user.vip_title}}</p>
        <p class="vip_line3" ng-if="user.vip_title == '普通会员'">#加入会员计划享免费观展体验</p>
        <p class="vip_line1" ng-if="user.vip_title != '普通会员'">有效期：<span ng-bind="user.vip_start_time*1000|date:'yyyy.MM.dd'"></span>-<span ng-bind="user.vip_end_time*1000|date:'yyyy.MM.dd'"></span></p>
      </div>
    </div>

    <div class="normal_box pd20">
      <div class="vip_content" ng-repeat="type in viptypes">
        <p class="vipbox_line1" ng-bind="type.title"></p>
        <p class="vipbox_line2">￥{{type.price}}/年</p>
        <p class="vipbox_line3 span_line5 h160" ng-bind-html="type.desc|trustHtml" ng-show="type.seemore != 1"></p>
        <p class="vipbox_line3" ng-bind-html="type.desc|trustHtml" ng-show="type.seemore == 1"></p>
        <p class="vipbox_more" ng-click="changeMore(type)" ng-if="type.seemore == 1">{{language == 0?'收起':'Close'}}</p>
        <p class="vipbox_more" ng-click="changeMore(type)" ng-hide="type.seemore == 1">{{language == 0?'查看更多':'More'}}</p>
        <div class="ticket_footer_vip" ng-if="user.vip_title!='普通会员'&&user.vip_title==type.title">
          <span class="ticket_pay" ng-click="add_card()">{{language == 0?'微信会员卡':'Wechat Card'}}</span>
        </div>
        <div class="ticket_footer_vip" ng-if="user.vip_title == '普通会员'">
          <span class="ticket_pay" ng-click="checkVip(type)">{{language == 0?'加入':'Join'}}</span>
        </div>
      </div>
    </div> 

  </ion-content>
</ion-view>